package com.qianqian.service.model;

public class GameRule {

    public GameRule(String code,String name,Double odds, String condition){
        this.code = code;
        this.name = name;
        this.odds = odds;
        this.condition = condition;
    }

    private String code;

    private String name;

    private Double odds;

    private String gameTypeCode;

    private String condition;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Double getOdds() {
        return odds;
    }

    public void setOdds(Double odds) {
        this.odds = odds;
    }

    public String getGameTypeCode() {
        return gameTypeCode;
    }

    public void setGameTypeCode(String gameTypeCode) {
        this.gameTypeCode = gameTypeCode == null ? null : gameTypeCode.trim();
    }

    public String getCondition() {
        return condition;
    }

    public void setCondition(String condition) {
        this.condition = condition == null ? null : condition.trim();
    }
}